package ui.logger;

import javax.swing.JLabel;

public class StatusBarLogger implements LogAcceptor{
	private JLabel statusBar;
	
	public StatusBarLogger() {
		
	}
	public StatusBarLogger(JLabel statusBar) {
		this.statusBar = statusBar;
	}
	
	public void show(LogEvent le) {
		statusBar.setText(le.getMessage());
	}
	
	

}
